import request from '@/utils/request'

export function accountsPayableOverview(data) {
    return request({
        url: '/accountsPayable/accountsPayableOverview',
        method: 'get',
        params: data,
    })
}

export function getAccountsPayableList(data) {
    return request({
        url: '/accountsPayable/getAccountsPayableList',
        method: 'get',
        params: data,
    })
}

export function getAccountsPayableDetailByID(data) {
    return request({
        url: '/accountsPayable/getAccountsPayableDetailByID',
        method: 'get',
        params: data,
    })
}

export function audit(data) {
    return request({
        url: '/accountsPayable/audit',
        method: 'post',
        data
    })
}
export function addAccountsPayable(data) {
    return request({
        url: '/accountsPayable/addAccountsPayable',
        method: 'post',
        data,
    })
}
